메인 콘텐츠로 건너뛰기
POST
/
audiences
Create an audience
curl --request POST \
  --url https://your_a2_service/audiences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "alt_id": {},
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "id_type": "<string>",
  "properties": {},
  "updated_at": "2023-11-07T05:31:56Z"
}'
{
  "alt_id": {},
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "id_type": "<string>",
  "properties": {},
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

오디언스 생성 스키마

id
string
required
alt_id
object | null

대체 식별자

created_at
string<date-time> | null

생성 일시

id_type
string | null
default:account_id

식별자 유형

properties
object

오디언스 속성

키는 AudienceAttribute.code, 값은 AudienceAttributeValue.value 목록

updated_at
string<date-time> | null

변경 일시

Response

Successful Response

오디언스 조회 스키마

id
string
required
alt_id
object | null

대체 식별자

created_at
string<date-time> | null

생성 일시

id_type
string | null
default:account_id

식별자 유형

properties
object

오디언스 속성

키는 AudienceAttribute.code, 값은 AudienceAttributeValue.value 목록

updated_at
string<date-time> | null

변경 일시